#include "dialog_base.h"

DialogBase::DialogBase (Glib::ustring title, bool modal, bool use_separator)
  : Dialog (title, modal, use_separator)
{

}

DialogBase::~DialogBase ()
{

}

void DialogBase::showDialog ()
{
  Glib::RefPtr<Gdk::Display> refResult;
  while (!refResult)
    {
      gint response_id = this->run();
      if (response_id == Gtk::RESPONSE_OK)
        {
          doSave ();
          break;
        }
    }
}
